<template>
    <div>read</div>
</template>
<script>
export default {
    // 组件内守卫
    // beforeRouteEnter(to,from,next){
    //     console.log("====")
        // let uid = window.localStorage.getItem('uid') || '';
        // if(uid){
        //     next();
        // }else{
        //     next('/login')
        // }
    // },
    beforeCreate(){
        console.log("beforeCreate")
    }
}
</script>
